package com.atguigu.chaptar5

object $07_Tuple {
  def main(args: Array[String]): Unit = {
    //1.()创建
   val tuple: (String, Int, String) = ("wzx", 20, "address")
    //2.->创建(只能创建二元元组
    val tuple1 = "name" -> "wzx"
    //3.查看
    tuple._1
    tuple._2
    tuple._3

  }

}
